<?php
session_start();
if (!array_key_exists('useremail', $_SESSION)) {
    header("Location: index.php");
    exit;
}
?>

<!DOCTYPE html>
<html>
    <head>
        <?php include('common/headsection.php'); ?>
        <title>iBill - Home</title>
    </head>
    <body>
        <div id="page">
            <div id="wrapper">
                <?php include('common/header.php'); ?>
                <h3>Welcome to login home page</h3>
                <?php include('common/footer.php'); ?>
            </div>
        </div>
    </body>
</html>
